import request from "../utils/request";

export function getBanner(){
    return request.get('/banner/list')
}

export function postBanner(alt,link,img){
    return request.post('/banner/add',{
        alt,
        link,
        img
    })
}

export function removeData(bannerid){
    return request.get('/banner/delete',{
        params:{
            bannerid
        }
    })
}